<%--
  Created by IntelliJ IDEA.
  User: leiylong
  Date: 2020/4/16
  Time: 16:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script src="/js/jquery.min.js"></script>
</head>
<body>

<ol>
    <li id="n"></li>
    <li id="n1"></li>
    <li id="n2"></li>
</ol>
<script>
    $.getJSON("/test/new3?id=2", function (data) {
        $("#n").append(data.id);
        $("#n1").append(data.name);
        $("#n2").append(data.money);
    });

</script>


</body>
</html>
